function special() {
    console.log("姓名:" + this.name);
}

var girl = {
    name: '小红',
    special: special
}

girl.special();